<template>
	<view>
		<view class="imgitem">
			<img src="/static/login.jpg" alt="" >
		</view>
		<view class="box">
			<view class="table">
				<u-form :model="form" border-bottom='false'>
					<u-form-item label="手机:" border-bottom='false'>
						<u-input v-model="form.name" border='false' placeholder="请输入手机号"/>
					</u-form-item>
					<u-form-item label="密码:" border-bottom='false' >
						<u-input v-model="form.password" border='false' placeholder="请输入密码"/>
					</u-form-item>
				</u-form>
				<u-button type="primary"  shape="square" class='u-button'>主要按钮</u-button>
				<view class="forget">忘记密码</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				form:{
					name:'',
					password:''
				}
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
	.imgitem{
		width: 100%;
		img{
			width: 100%; 
			height: 600rpx;
		}
	}
	.box{
		box-shadow: 1px 1px 5px rgba(66, 66, 66, 0.25);
		width: 675rpx;
		height: 500rpx;
		border-radius: 20rpx;
		position: absolute;
		left: 5%;
		top: 365rpx;
		.table{
			padding: 80rpx 70rpx;
			::v-deep .u-button--square{
				margin-top: 30rpx;
				border-radius: 20rpx;
			}
			.forget{
				color: #446FE0;
				margin-top: 30rpx;
				margin-left: 400rpx;
			}
		}
	}
</style>
